﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using RESTServicesMov.Dominio;
using System.ServiceModel.Web;

namespace RESTServicesMov
{
    
    [ServiceContract]
    public interface IConsultasCSs
    {
        [OperationContract]
        [WebInvoke(Method = "GET", UriTemplate = "Consultas/{codigo}", ResponseFormat = WebMessageFormat.Json)]
        List<ConsultaCS> Consultar(string codigo);
    }
}
